package org.daidai.abstrusewriting.homepage.top.service;

import org.daidai.abstrusewriting.homepage.top.model.RankingListDetail;
import org.daidai.abstrusewriting.homepage.top.model.TopModel;
import org.daidai.abstrusewriting.homepage.top.model.TrackDetail;

import retrofit2.http.GET;

import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by liuch on 2016/10/31.
 */

public interface TopService {

    @GET("rankingList/group?channel=and-a1&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.98")
    Observable<TopModel> getTopDetail();

    @GET("track")
    Observable<RankingListDetail> getTopListDetail(@Query("device") String device, @Query("key") String key, @Query("pageId") int pageId, @Query("pageSize") int pageSize, @Query("scale") int scale);

    @GET("baseInfo")
    Observable<TrackDetail> getTrackDetail(@Query("device") String device, @Query("trackId") long trackId, @Query("trackUid") long trackUid);
}
